package com.sentrix.auto.printercenter.common;

import lombok.Builder;
import lombok.Data;
import lombok.Getter;

/**
 * {
 *     "call": "printers.startListening",
 *     "params": {
 *         "printerNames": [
 *             null
 *         ],
 *         "flavor": "plain"
 *     },
 *     "signature": "",
 *     "timestamp": 1758779689334,
 *     "uid": "yk1ufx",
 *     "position": {
 *         "x": 1280,
 *         "y": 700
 *     },
 *     "signAlgorithm": "SHA512"
 * }
 *
 * 数据取
 "params": {
 *         "printerNames": [
 *             null
 *         ],
 *         "flavor": "plain"
 *     },
 */
@Builder
@Data
public class ListeningPrinterParam {
    private String[] printerNames;
    @Getter
    @Builder.Default
    private String flavor = "plain";
}
